import { ColumnGroupType, ColumnType } from "antd/es/table"

import { renderNullableValue } from "./venueProfitAndLoss"

export const onCell = () => ({
	style: {
		padding: "16px 0px",
		textAlign: "center"
	}
})

const proxyDetail = (newFormat: (arg: string) => string): Record<string, ColumnGroupType<any> | ColumnType<any>> => ({
	proxyDetailStaticsDate: {
		key: "staticsDate",
		dataIndex: "staticsDate",
		width: 120,
		render: (_text: any, record: any) => record.staticsDate,
		title: newFormat("report.proxy_detail_statics_date"),
		align: "center",
		fixed: false
	},
	proxyDetailOtherBetCount: {
		key: "otherBetCount",
		dataIndex: "otherBetCount",
		width: 120,
		render: renderNullableValue("otherBetCount"),
		title: newFormat("report.proxy_detail_other_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherBetCount - b.otherBetCount
	},
	proxyDetailDxClubTotalServiceChargeContributionAmount: {
		key: "dxClubTotalServiceChargeContributionAmount",
		dataIndex: "dxClubTotalServiceChargeContributionAmount",
		width: 120,
		render: renderNullableValue("dxClubTotalServiceChargeContributionAmount", "$"),
		title: newFormat("report.proxy_detail_dx_club_total_service_charge_contribution_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubTotalServiceChargeContributionAmount - b.dxClubTotalServiceChargeContributionAmount
	},
	proxyDetailOtherBetAmount: {
		key: "otherBetAmount",
		dataIndex: "otherBetAmount",
		width: 120,
		render: renderNullableValue("otherBetAmount", "$"),
		title: newFormat("report.proxy_detail_other_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherBetAmount - b.otherBetAmount
	},
	proxyDetailOtherValidBetAmount: {
		key: "otherValidBetAmount",
		dataIndex: "otherValidBetAmount",
		width: 120,
		render: renderNullableValue("otherValidBetAmount", "$"),
		title: newFormat("report.proxy_detail_other_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherValidBetAmount - b.otherValidBetAmount
	},

	proxyDetailDxTotalNetAmount: {
		key: "dxTotalNetAmount",
		dataIndex: "dxTotalNetAmount",
		width: 120,
		render: renderNullableValue("dxTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_dx_total_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxTotalNetAmount - b.dxTotalNetAmount
	},
	proxyDetailTyTotalNetAmount: {
		key: "tyTotalNetAmount",
		dataIndex: "tyTotalNetAmount",
		width: 120,
		render: renderNullableValue("tyTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_ty_total_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyTotalNetAmount - b.tyTotalNetAmount
	},
	proxyDetailZrTotalNetAmount: {
		key: "zrTotalNetAmount",
		dataIndex: "zrTotalNetAmount",
		width: 120,
		render: renderNullableValue("zrTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_zr_total_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrTotalNetAmount - b.zrTotalNetAmount
	},
	proxyDetailDjTotalNetAmount: {
		key: "djTotalNetAmount",
		dataIndex: "djTotalNetAmount",
		width: 120,
		render: renderNullableValue("djTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_dj_total_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djTotalNetAmount - b.djTotalNetAmount
	},
	proxyDetailQpTotalNetAmount: {
		key: "qpTotalNetAmount",
		dataIndex: "qpTotalNetAmount",
		width: 120,
		render: renderNullableValue("qpTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_qp_total_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpTotalNetAmount - b.qpTotalNetAmount
	},
	proxyDetailCpTotalNetAmount: {
		key: "cpTotalNetAmount",
		dataIndex: "cpTotalNetAmount",
		width: 120,
		render: renderNullableValue("cpTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_cp_total_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpTotalNetAmount - b.cpTotalNetAmount
	},
	proxyDetailDyTotalNetAmount: {
		key: "dyTotalNetAmount",
		dataIndex: "dyTotalNetAmount",
		width: 120,
		render: renderNullableValue("dyTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_dy_total_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyTotalNetAmount - b.dyTotalNetAmount
	},
	proxyDetailOtherTotalNetAmount: {
		key: "otherTotalNetAmount",
		dataIndex: "otherTotalNetAmount",
		width: 120,
		render: renderNullableValue("otherTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_other_total_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherTotalNetAmount - b.otherTotalNetAmount
	},
	proxyDetailTotalNetAmount: {
		key: "totalNetAmount",
		dataIndex: "totalNetAmount",
		width: 120,
		render: renderNullableValue("totalNetAmount", "$"),
		title: newFormat("report.proxy_detail_total_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.totalNetAmount - b.totalNetAmount
	},

	proxyDetailDxClubServiceChargeHandBetCount: {
		key: "dxClubServiceChargeHandBetCount",
		dataIndex: "dxClubServiceChargeHandBetCount",
		width: 120,
		render: renderNullableValue("dxClubServiceChargeHandBetCount"),
		title: newFormat("report.proxy_detail_dx_club_service_charge_hand_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubServiceChargeHandBetCount - b.dxClubServiceChargeHandBetCount
	},
	proxyDetailDxClubNetAmount: {
		key: "dxClubNetAmount",
		dataIndex: "dxClubNetAmount",
		width: 120,
		render: renderNullableValue("dxClubNetAmount", "$"),
		title: newFormat("report.proxy_detail_dx_club_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubNetAmount - b.dxClubNetAmount
	},
	proxyDetailDxSquidNetAmount: {
		key: "dxSquidNetAmount",
		dataIndex: "dxSquidNetAmount",
		width: 120,
		render: renderNullableValue("dxSquidNetAmount", "$"),
		title: newFormat("report.proxy_detail_dx_squid_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxSquidNetAmount - b.dxSquidNetAmount
	},
	proxyDetailDxClubServiceChargeRoundAmount: {
		key: "dxClubServiceChargeRoundAmount",
		dataIndex: "dxClubServiceChargeRoundAmount",
		width: 120,
		render: renderNullableValue("dxClubServiceChargeRoundAmount", "$"),
		title: newFormat("report.proxy_detail_dx_club_service_charge_round_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubServiceChargeRoundAmount - b.dxClubServiceChargeRoundAmount
	},
	proxyDetailDxClubServiceChargeHandAmount: {
		key: "dxClubServiceChargeHandAmount",
		dataIndex: "dxClubServiceChargeHandAmount",
		width: 120,
		render: renderNullableValue("dxClubServiceChargeHandAmount", "$"),
		title: newFormat("report.proxy_detail_dx_club_service_charge_hand_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubServiceChargeHandAmount - b.dxClubServiceChargeHandAmount
	},
	proxyDetailDxClubTotalServiceChargeContributionAmount1: {
		key: "dxClubTotalServiceChargeContributionAmount",
		dataIndex: "dxClubTotalServiceChargeContributionAmount",
		width: 120,
		render: renderNullableValue("dxClubTotalServiceChargeContributionAmount", "$"),
		title: newFormat("report.proxy_detail_dx_club_total_service_charge_contribution_amount1"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubTotalServiceChargeContributionAmount - b.dxClubTotalServiceChargeContributionAmount
	},
	proxyDetailDxClubServiceChargeContributionRebateAmount: {
		key: "dxClubServiceChargeContributionRebateAmount",
		dataIndex: "dxClubServiceChargeContributionRebateAmount",
		width: 120,
		render: renderNullableValue("dxClubServiceChargeContributionRebateAmount", "$"),
		title: newFormat("report.proxy_detail_dx_club_service_charge_contribution_rebate_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubServiceChargeContributionRebateAmount - b.dxClubServiceChargeContributionRebateAmount
	},
	proxyDetailDxInsureBetCount: {
		key: "dxInsureBetCount",
		dataIndex: "dxInsureBetCount",
		width: 120,
		render: renderNullableValue("dxInsureBetCount"),
		title: newFormat("report.proxy_detail_dx_insure_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureBetCount - b.dxInsureBetCount
	},
	proxyDetailDxInsureBetAmount: {
		key: "dxInsureBetAmount",
		dataIndex: "dxInsureBetAmount",
		width: 120,
		render: renderNullableValue("dxInsureBetAmount", "$"),
		title: newFormat("report.proxy_detail_dx_insure_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureBetAmount - b.dxInsureBetAmount
	},
	proxyDetailDxInsureValidBetAmount: {
		key: "dxInsureValidBetAmount",
		dataIndex: "dxInsureValidBetAmount",
		width: 120,
		render: renderNullableValue("dxInsureValidBetAmount", "$"),
		title: newFormat("report.proxy_detail_dx_insure_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureValidBetAmount - b.dxInsureValidBetAmount
	},
	proxyDetailDxInsureNetAmount: {
		key: "dxInsureNetAmount",
		dataIndex: "dxInsureNetAmount",
		width: 120,
		render: renderNullableValue("dxInsureNetAmount", "$"),
		title: newFormat("report.proxy_detail_dx_insure_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureNetAmount - b.dxInsureNetAmount
	},
	proxyDetailDxInsureNetRebateAmount: {
		key: "dxInsureNetRebateAmount",
		dataIndex: "dxInsureNetRebateAmount",
		width: 120,
		render: renderNullableValue("dxInsureNetRebateAmount", "$"),
		title: newFormat("report.proxy_detail_dx_insure_net_rebate_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureNetRebateAmount - b.dxInsureNetRebateAmount
	},
	proxyDetailDxValueAddedTotalAmount: {
		key: "dxValueAddedTotalAmount",
		dataIndex: "dxValueAddedTotalAmount",
		width: 120,
		render: renderNullableValue("dxValueAddedTotalAmount", "$"),
		title: newFormat("report.proxy_detail_dx_value_added_total_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxValueAddedTotalAmount - b.dxValueAddedTotalAmount
	},
	proxyDetailDxValueAddedTotalRebateAmount: {
		key: "dxValueAddedTotalRebateAmount",
		dataIndex: "dxValueAddedTotalRebateAmount",
		width: 120,
		render: renderNullableValue("dxValueAddedTotalRebateAmount", "$"),
		title: newFormat("report.proxy_detail_dx_value_added_total_rebate_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxValueAddedTotalRebateAmount - b.dxValueAddedTotalRebateAmount
	},
	proxyDetailDxTotalNetAmount1: {
		key: "dxTotalNetAmount",
		dataIndex: "dxTotalNetAmount",
		width: 120,
		render: renderNullableValue("dxTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_dx_total_net_amount1"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxTotalNetAmount - b.dxTotalNetAmount
	},

	proxyDetailOtherBetCount1: {
		key: "otherBetCount",
		dataIndex: "otherBetCount",
		width: 120,
		render: renderNullableValue("otherBetCount"),
		title: newFormat("report.proxy_detail_other_bet_count1"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherBetCount - b.otherBetCount
	},
	proxyDetailOtherBetAmount1: {
		key: "otherBetAmount",
		dataIndex: "otherBetAmount",
		width: 120,
		render: renderNullableValue("otherBetAmount", "$"),
		title: newFormat("report.proxy_detail_other_bet_amount1"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherBetAmount - b.otherBetAmount
	},
	proxyDetailOtherdxnValidBetAmount: {
		key: "otherValidBetAmount",
		dataIndex: "otherValidBetAmount",
		width: 120,
		render: renderNullableValue("otherValidBetAmount", "$"),
		title: newFormat("report.proxy_detail_other_valid_bet_amount1"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherValidBetAmount - b.otherValidBetAmount
	},
	proxyDetailOtherNetAmount: {
		key: "otherNetAmount",
		dataIndex: "otherNetAmount",
		width: 120,
		render: renderNullableValue("otherNetAmount", "$"),
		title: newFormat("report.proxy_detail_other_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherNetAmount - b.otherNetAmount
	},
	proxyDetailOtherNetRecalculationAdjustmentAmount: {
		key: "otherNetRecalculationAdjustmentAmount",
		dataIndex: "otherNetRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("otherNetRecalculationAdjustmentAmount", "$"),
		title: newFormat("report.proxy_detail_other_net_recalculation_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherNetRecalculationAdjustmentAmount - b.otherNetRecalculationAdjustmentAmount
	},
	proxyDetailOtherRebateAmount: {
		key: "otherRebateAmount",
		dataIndex: "otherRebateAmount",
		width: 120,
		render: renderNullableValue("otherRebateAmount", "$"),
		title: newFormat("report.proxy_detail_other_rebate_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherRebateAmount - b.otherRebateAmount
	},
	proxyDetailOtherRebateRecalculationAdjustmentAmount: {
		key: "otherRebateRecalculationAdjustmentAmount",
		dataIndex: "otherRebateRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("otherRebateRecalculationAdjustmentAmount", "$"),
		title: newFormat("report.proxy_detail_other_rebate_recalculation_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherRebateRecalculationAdjustmentAmount - b.otherRebateRecalculationAdjustmentAmount
	},
	proxyDetailOtherAmount: {
		key: "otherAmount",
		dataIndex: "otherAmount",
		width: 120,
		render: renderNullableValue("otherAmount", "$"),
		title: newFormat("report.proxy_detail_other_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherAmount - b.otherAmount
	},
	proxyDetailOtherAdjustmentTotalNetAmount: {
		key: "otherAdjustmentTotalNetAmount",
		dataIndex: "otherAdjustmentTotalNetAmount",
		width: 120,
		render: renderNullableValue("otherAdjustmentTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_other_adjustment_total_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherAdjustmentTotalNetAmount - b.otherAdjustmentTotalNetAmount
	},

	proxyDetailTyBetCount: {
		key: "tyBetCount",
		dataIndex: "tyBetCount",
		width: 120,
		render: renderNullableValue("tyBetCount"),
		title: newFormat("report.proxy_detail_ty_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyBetCount - b.tyBetCount
	},
	proxyDetailTyBetAmount: {
		key: "tyBetAmount",
		dataIndex: "tyBetAmount",
		width: 120,
		render: renderNullableValue("tyBetAmount", "$"),
		title: newFormat("report.proxy_detail_ty_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyBetAmount - b.tyBetAmount
	},
	proxyDetailTyValidBetAmount: {
		key: "tyValidBetAmount",
		dataIndex: "tyValidBetAmount",
		width: 120,
		render: renderNullableValue("tyValidBetAmount", "$"),
		title: newFormat("report.proxy_detail_ty_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyValidBetAmount - b.tyValidBetAmount
	},
	proxyDetailTyNetAmount: {
		key: "tyNetAmount",
		dataIndex: "tyNetAmount",
		width: 120,
		render: renderNullableValue("tyNetAmount", "$"),
		title: newFormat("report.proxy_detail_ty_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyNetAmount - b.tyNetAmount
	},
	proxyDetailTyNetRecalculationAdjustmentAmount: {
		key: "tyNetRecalculationAdjustmentAmount",
		dataIndex: "tyNetRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("tyNetRecalculationAdjustmentAmount", "$"),
		title: newFormat("report.proxy_detail_ty_net_recalculation_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyNetRecalculationAdjustmentAmount - b.tyNetRecalculationAdjustmentAmount
	},
	proxyDetailTyRebateAmount: {
		key: "tyRebateAmount",
		dataIndex: "tyRebateAmount",
		width: 120,
		render: renderNullableValue("tyRebateAmount", "$"),
		title: newFormat("report.proxy_detail_ty_rebate_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyRebateAmount - b.tyRebateAmount
	},
	proxyDetailTyRebateRecalculationAdjustmentAmount: {
		key: "tyRebateRecalculationAdjustmentAmount",
		dataIndex: "tyRebateRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("tyRebateRecalculationAdjustmentAmount", "$"),
		title: newFormat("report.proxy_detail_ty_rebate_recalculation_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyRebateRecalculationAdjustmentAmount - b.tyRebateRecalculationAdjustmentAmount
	},
	proxyDetailTyTotalNetAmount1: {
		key: "tyTotalNetAmount",
		dataIndex: "tyTotalNetAmount",
		width: 120,
		render: renderNullableValue("tyTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_ty_total_net_amount1"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyTotalNetAmount - b.tyTotalNetAmount
	},

	proxyDetailDjBetCount: {
		key: "djBetCount",
		dataIndex: "djBetCount",
		width: 120,
		render: renderNullableValue("djBetCount"),
		title: newFormat("report.proxy_detail_dj_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djBetCount - b.djBetCount
	},
	proxyDetailDjBetAmount: {
		key: "djBetAmount",
		dataIndex: "djBetAmount",
		width: 120,
		render: renderNullableValue("djBetAmount", "$"),
		title: newFormat("report.proxy_detail_dj_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djBetAmount - b.djBetAmount
	},
	proxyDetailDjValidBetAmount: {
		key: "djValidBetAmount",
		dataIndex: "djValidBetAmount",
		width: 120,
		render: renderNullableValue("djValidBetAmount", "$"),
		title: newFormat("report.proxy_detail_dj_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djValidBetAmount - b.djValidBetAmount
	},
	proxyDetailDjNetAmount: {
		key: "djNetAmount",
		dataIndex: "djNetAmount",
		width: 120,
		render: renderNullableValue("djNetAmount", "$"),
		title: newFormat("report.proxy_detail_dj_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djNetAmount - b.djNetAmount
	},
	proxyDetailDjNetRecalculationAdjustmentAmount: {
		key: "djNetRecalculationAdjustmentAmount",
		dataIndex: "djNetRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("djNetRecalculationAdjustmentAmount", "$"),
		title: newFormat("report.proxy_detail_dj_net_recalculation_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djNetRecalculationAdjustmentAmount - b.djNetRecalculationAdjustmentAmount
	},
	proxyDetailDjRebateAmount: {
		key: "djRebateAmount",
		dataIndex: "djRebateAmount",
		width: 120,
		render: renderNullableValue("djRebateAmount", "$"),
		title: newFormat("report.proxy_detail_dj_rebate_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djRebateAmount - b.djRebateAmount
	},
	proxyDetailDjRebateRecalculationAdjustmentAmount: {
		key: "djRebateRecalculationAdjustmentAmount",
		dataIndex: "djRebateRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("djRebateRecalculationAdjustmentAmount", "$"),
		title: newFormat("report.proxy_detail_dj_rebate_recalculation_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djRebateRecalculationAdjustmentAmount - b.djRebateRecalculationAdjustmentAmount
	},
	proxyDetailDjTotalNetAmount1: {
		key: "djTotalNetAmount",
		dataIndex: "djTotalNetAmount",
		width: 120,
		render: renderNullableValue("djTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_dj_total_net_amount1"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djTotalNetAmount - b.djTotalNetAmount
	},

	proxyDetailCpBetCount: {
		key: "cpBetCount",
		dataIndex: "cpBetCount",
		width: 120,
		render: renderNullableValue("cpBetCount"),
		title: newFormat("report.proxy_detail_cp_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpBetCount - b.cpBetCount
	},
	proxyDetailCpBetAmount: {
		key: "cpBetAmount",
		dataIndex: "cpBetAmount",
		width: 120,
		render: renderNullableValue("cpBetAmount", "$"),
		title: newFormat("report.proxy_detail_cp_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpBetAmount - b.cpBetAmount
	},
	proxyDetailCpValidBetAmount: {
		key: "cpValidBetAmount",
		dataIndex: "cpValidBetAmount",
		width: 120,
		render: renderNullableValue("cpValidBetAmount", "$"),
		title: newFormat("report.proxy_detail_cp_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpValidBetAmount - b.cpValidBetAmount
	},
	proxyDetailCpNetAmount: {
		key: "cpNetAmount",
		dataIndex: "cpNetAmount",
		width: 120,
		render: renderNullableValue("cpNetAmount", "$"),
		title: newFormat("report.proxy_detail_cp_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpNetAmount - b.cpNetAmount
	},
	proxyDetailCpNetRecalculationAdjustmentAmount: {
		key: "cpNetRecalculationAdjustmentAmount",
		dataIndex: "cpNetRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("cpNetRecalculationAdjustmentAmount", "$"),
		title: newFormat("report.proxy_detail_cp_net_recalculation_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpNetRecalculationAdjustmentAmount - b.cpNetRecalculationAdjustmentAmount
	},
	proxyDetailCpRebateAmount: {
		key: "cpRebateAmount",
		dataIndex: "cpRebateAmount",
		width: 120,
		render: renderNullableValue("cpRebateAmount", "$"),
		title: newFormat("report.proxy_detail_cp_rebate_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpRebateAmount - b.cpRebateAmount
	},
	proxyDetailCpRebateRecalculationAdjustmentAmount: {
		key: "cpRebateRecalculationAdjustmentAmount",
		dataIndex: "cpRebateRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("cpRebateRecalculationAdjustmentAmount", "$"),
		title: newFormat("report.proxy_detail_cp_rebate_recalculation_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpRebateRecalculationAdjustmentAmount - b.cpRebateRecalculationAdjustmentAmount
	},
	proxyDetailCpTotalNetAmount1: {
		key: "cpTotalNetAmount",
		dataIndex: "cpTotalNetAmount",
		width: 120,
		render: renderNullableValue("cpTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_cp_total_net_amount1"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpTotalNetAmount - b.cpTotalNetAmount
	},

	proxyDetailZrBetCount: {
		key: "zrBetCount",
		dataIndex: "zrBetCount",
		width: 120,
		render: renderNullableValue("zrBetCount"),
		title: newFormat("report.proxy_detail_zr_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrBetCount - b.zrBetCount
	},
	proxyDetailZrBetAmount: {
		key: "zrBetAmount",
		dataIndex: "zrBetAmount",
		width: 120,
		render: renderNullableValue("zrBetAmount", "$"),
		title: newFormat("report.proxy_detail_zr_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrBetAmount - b.zrBetAmount
	},
	proxyDetailZrValidBetAmount: {
		key: "zrValidBetAmount",
		dataIndex: "zrValidBetAmount",
		width: 120,
		render: renderNullableValue("zrValidBetAmount", "$"),
		title: newFormat("report.proxy_detail_zr_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrValidBetAmount - b.zrValidBetAmount
	},
	proxyDetailZrNetAmount: {
		key: "zrNetAmount",
		dataIndex: "zrNetAmount",
		width: 120,
		render: renderNullableValue("zrNetAmount", "$"),
		title: newFormat("report.proxy_detail_zr_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrNetAmount - b.zrNetAmount
	},
	proxyDetailZrNetRecalculationAdjustmentAmount: {
		key: "zrNetRecalculationAdjustmentAmount",
		dataIndex: "zrNetRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("zrNetRecalculationAdjustmentAmount", "$"),
		title: newFormat("report.proxy_detail_zr_net_recalculation_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrNetRecalculationAdjustmentAmount - b.zrNetRecalculationAdjustmentAmount
	},
	proxyDetailZrRebateAmount: {
		key: "zrRebateAmount",
		dataIndex: "zrRebateAmount",
		width: 120,
		render: renderNullableValue("zrRebateAmount", "$"),
		title: newFormat("report.proxy_detail_zr_rebate_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrRebateAmount - b.zrRebateAmount
	},
	proxyDetailZrRebateRecalculationAdjustmentAmount: {
		key: "zrRebateRecalculationAdjustmentAmount",
		dataIndex: "zrRebateRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("zrRebateRecalculationAdjustmentAmount", "$"),
		title: newFormat("report.proxy_detail_zr_rebate_recalculation_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrRebateRecalculationAdjustmentAmount - b.zrRebateRecalculationAdjustmentAmount
	},
	proxyDetailZrRewardAmount: {
		key: "zrRewardAmount",
		dataIndex: "zrRewardAmount",
		width: 120,
		render: renderNullableValue("zrRewardAmount", "$"),
		title: newFormat("report.proxy_detail_zr_reward_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrRewardAmount - b.zrRewardAmount
	},
	proxyDetailZrTotalNetAmount1: {
		key: "zrTotalNetAmount",
		dataIndex: "zrTotalNetAmount",
		width: 120,
		render: renderNullableValue("zrTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_zr_total_net_amount1"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrTotalNetAmount - b.zrTotalNetAmount
	},

	proxyDetailQpBetCount: {
		key: "qpBetCount",
		dataIndex: "qpBetCount",
		width: 120,
		render: renderNullableValue("qpBetCount"),
		title: newFormat("report.proxy_detail_qp_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpBetCount - b.qpBetCount
	},
	proxyDetailQpBetAmount: {
		key: "qpBetAmount",
		dataIndex: "qpBetAmount",
		width: 120,
		render: renderNullableValue("qpBetAmount", "$"),
		title: newFormat("report.proxy_detail_qp_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpBetAmount - b.qpBetAmount
	},
	proxyDetailQpValidBetAmount: {
		key: "qpValidBetAmount",
		dataIndex: "qpValidBetAmount",
		width: 120,
		render: renderNullableValue("qpValidBetAmount", "$"),
		title: newFormat("report.proxy_detail_qp_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpValidBetAmount - b.qpValidBetAmount
	},
	proxyDetailQpNetAmount: {
		key: "qpNetAmount",
		dataIndex: "qpNetAmount",
		width: 120,
		render: renderNullableValue("qpNetAmount", "$"),
		title: newFormat("report.proxy_detail_qp_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpNetAmount - b.qpNetAmount
	},
	proxyDetailQpRebateAmount: {
		key: "qpRebateAmount",
		dataIndex: "qpRebateAmount",
		width: 120,
		render: renderNullableValue("qpRebateAmount", "$"),
		title: newFormat("report.proxy_detail_qp_rebate_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpRebateAmount - b.qpRebateAmount
	},
	proxyDetailQpTotalNetAmount1: {
		key: "qpTotalNetAmount",
		dataIndex: "qpTotalNetAmount",
		width: 120,
		render: renderNullableValue("qpTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_qp_total_net_amount1"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpTotalNetAmount - b.qpTotalNetAmount
	},

	proxyDetailDyBetCount: {
		key: "dyBetCount",
		dataIndex: "dyBetCount",
		width: 120,
		render: renderNullableValue("dyBetCount"),
		title: newFormat("report.proxy_detail_dy_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyBetCount - b.dyBetCount
	},
	proxyDetailDyBetAmount: {
		key: "dyBetAmount",
		dataIndex: "dyBetAmount",
		width: 120,
		render: renderNullableValue("dyBetAmount", "$"),
		title: newFormat("report.proxy_detail_dy_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyBetAmount - b.dyBetAmount
	},
	proxyDetailDyValidBetAmount: {
		key: "dyValidBetAmount",
		dataIndex: "dyValidBetAmount",
		width: 120,
		render: renderNullableValue("dyValidBetAmount", "$"),
		title: newFormat("report.proxy_detail_dy_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyValidBetAmount - b.dyValidBetAmount
	},
	proxyDetailDyNetAmount: {
		key: "dyNetAmount",
		dataIndex: "dyNetAmount",
		width: 120,
		render: renderNullableValue("dyNetAmount", "$"),
		title: newFormat("report.proxy_detail_dy_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyNetAmount - b.dyNetAmount
	},
	proxyDetailDyRebateAmount: {
		key: "dyRebateAmount",
		dataIndex: "dyRebateAmount",
		width: 120,
		render: renderNullableValue("dyRebateAmount", "$"),
		title: newFormat("report.proxy_detail_dy_rebate_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyRebateAmount - b.dyRebateAmount
	},
	proxyDetailDyActivityBonus: {
		key: "dyActivityBonus",
		dataIndex: "dyActivityBonus",
		width: 120,
		render: renderNullableValue("dyActivityBonus", "$"),
		title: newFormat("report.proxy_detail_dy_activity_bonus"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyActivityBonus - b.dyActivityBonus
	},
	proxyDetailDyTotalNetAmount1: {
		key: "dyTotalNetAmount",
		dataIndex: "dyTotalNetAmount",
		width: 120,
		render: renderNullableValue("dyTotalNetAmount", "$"),
		title: newFormat("report.proxy_detail_dy_total_net_amount1"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyTotalNetAmount - b.dyTotalNetAmount
	}
})

export default proxyDetail
